﻿@model User
@{
    ViewBag.Title = "登录";
}




<form asp-controller="UserLogin" asp-action="Login" method="post">
    <label asp-for="UserName">用户名:</label> <input type="text" asp-for="UserName" />
    <span asp-validation-for="UserName" style="color:red;"></span>
    <br />
    <label asp-for="Password">密码:</label> <input type="password" asp-for="Password" />
    <span asp-validation-for="Password" style="color:red;"></span>
    <br />
    <input type="submit" value="登录" />
</form>

